package com.web.mall.entity;

import com.web.mall.entity.TbSpecification;
import com.web.mall.entity.TbSpecificationOption;
import lombok.Data;

import java.util.List;

@Data
public class TbSpecificationDto extends TbSpecification {
    // 拓展一个列表，用于封装规格参数选项
    private List<TbSpecificationOption> tbSpecificationOptions;

    @Override
    public String toString() {
        return super.toString() + ",TbSpecificationDto{" +
                "tbSpecificationOptions=" + tbSpecificationOptions +
                '}';
    }
}
